package com.zhaolulu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhaolulu.domain.Channel;

public interface ChannelService extends IService<Channel> {

    /**
     * 根据 innerCode 和 skuId 查询货道信息
     *
     * @param innerCode
     * @param skuId
     * @return
     */
    Channel getChanneleByInnerCodeAndSku(String innerCode, Long skuId);

    /**
     * 根据 innerCode 和 channelCode 查询货道信息
     * @param innerCode
     * @param channelCode
     * @return
     */
    Channel getChanneleByInnerCodeAndChannelCode(String innerCode, String channelCode);
}
